import {
	request
} from '../request.js'
const index = {
	initData() {
		return request({
			method: 'Post',
			url: '/api/agent/frontAgent/index',
			
		})
	},
	tree(){
		return request({
			method: 'Get',
			url: '/api/agent/front/agent/tree'
			
		})
	},
	agentData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/uac/front/member/index',
	    params: params
	  })
	},
	achievement () {
	  return request({
	    method: 'Post',
	    url: '/api/order/front/order/agent/achievement'
	   
	  })
	},
	achievementlist (params,type) {
	  return request({
	    method: 'Post',
	    url: '/api/order/front/order/agent/achievement/'+type,
		params: params
	  })
	},

}
export default index;
